package com.credithc.signature.common.ro.callback;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 描述：回调服务请求<br/>
 * 作者：sunyang
 * 创建：2019/6/10 18:11
 * 版本：v1.0.0<br/>
 */
@Data
public class CallbackReq {

    private String requestSN;

    @JsonProperty("isSuccess")
    private Boolean isSuccess;

    private String callBackURL;

    private String contractUri;

    private String errorMsg;

    private Integer retryTime;

    private String putTime;

    public CallbackReq() {
    }

    public CallbackReq(String requestSN, Boolean isSuccess, String callBackURL, String contractUri, String errorMsg, Integer retryTime) {
        this.requestSN = requestSN;
        this.isSuccess = isSuccess;
        this.callBackURL = callBackURL;
        this.contractUri = contractUri;
        this.errorMsg = errorMsg;
        this.retryTime = retryTime;
    }
}
